<?php

    if(!defined('BASEPATH'))
        exit('No direct script access allowed');

    function format_input_name($name)
    {
        $res=underscore($name);

        $res=preg_replace("/[^a-zA-Z0-9_]/s", '', $res);

        $res=underscore($res);

        return $res;

    }

?>
